package com.easypay.bean.cashier;

import lombok.Data;

import java.io.Serializable;

/**
 *   预下单接口-H5版请求
 *
 * @date: 2021/10/22 11:07
 * @author: pandans
 */
@Data
public class H5AdvancePay implements Serializable {


    /**
     * bizData : {"attach":"2313","title":"订单标题","subject":"订单描述","frontUrl":"www.baidu.com","notifyUrl":"www.baidu.com","openId":"XXX","appId":"XXX","orgHfee":"2","otherfee":"2","timeoutMinutes":"30","transAmt":"1"}
     * orgId : ORG000000000001
     * orgMerCode : XXXXXXXXXXXXXXXX
     * orgTermNo : XXXXX
     * orgInfo : 123214214
     * orgSmercode : 123214213213
     * orgTrace : 2021041401000000000000004
     * prodCode : 2132142132
     * prodTrace : 124213123123213
     * sign : 124213213
     * signType : 214213213
     */

    private BizDataBean bizData;
    private String orgId;
    private String orgMerCode;
    private String orgTermNo;
    private String orgInfo;
    private String orgSmercode;
    private String orgTrace;
    private String prodCode;
    private String prodTrace;
    private String sign;
    private String signType;
    private String orgGpstype;
    private String orgLongitude;
    private String orgLatitude;
    private String orgBasestation;
    private String orgDeviceIp;

    @Data
    public static class BizDataBean implements Serializable {
        /**
         * attach : 2313
         * title : 订单标题
         * subject : 订单描述
         * frontUrl : www.baidu.com
         * notifyUrl : www.baidu.com
         * openId : XXX
         * appId : XXX
         * orgHfee : 2
         * otherfee : 2
         * timeoutMinutes : 30
         * transAmt : 1
         */

        private String attach;
        private String title;
        private String subject;
        private String frontUrl;
        private String notifyUrl;
        private String openId;
        private String appId;
        private String orgHfee;
        private String otherfee;
        private String timeoutMinutes;
        private String transAmt;
    }
}
